client/Command(cmd as command_text)
	var/real_cmd = copytext(cmd, 1, findtext(cmd, " "))
	var/param = copytext(cmd, findtext(cmd, " ") + 1)
	switch(lowertext(real_cmd))
		if("say")
			if(!param || !length(param) || !length(ckey(param))) System_UserMessage(src, "You must enter a message.")
			Say(param)
		if("emote")
			if(!param || !length(param) || !length(ckey(param))) System_UserMessage(src, "You must enter a message.")
			Say(param)
		if("who")
			var
				available = ""
				busy = ""
				away = ""
				idle = ""
			var/total = 0
			for(var/client/C) {
				if(C.Status == "Available" || C.Status == "Typing") {
					if(length(available)) available += ", "
					available += C.name
				} else if(C.Status == "Busy") {
					if(length(busy)) busy += ", "
					busy += C.name
				} else if(C.Status == "Away") {
					if(length(away)) away += ", "
					away += C.name
				} else if(C.Status == "Idle") {
					if(length(idle)) idle += ", "
					idle += C.name
				}

				total ++
			}

			System_UserMessage(src, "Total User: [total]")
			if(length(available)) System_UserMessage(src, "Available: [available]")
			if(length(busy)) System_UserMessage(src, "Busy: [busy]")
			if(length(away)) System_UserMessage(src, "Away: [away]")
			if(length(idle)) System_UserMessage(src, "Idle: [idle]")


client/proc/IsTelnet()
	return !computer_id